# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-gme
pkgver=0_git20200330
pkgrel=0
_commit="25b97e36ad53c4ff1c1f34056d651f0673a5c992"
pkgdesc="port of blargg's Game_Music_Emu library"
url="https://github.com/libretro/libretro-gme"
arch="all !ppc64le !mips !mips64"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-gme/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-gme-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 gme_libretro.so "$pkgdir"/usr/lib/libretro/gme_libretro.so
}

sha512sums="16cd15527c481df21b7cd3cc2110688233a0bf5d85f4611254fc3813a78105b13cad0bfbac046343833a1b000cce184c5d3ede4de7fe2b5117972c66e4b70bb4  libretro-gme-25b97e36ad53c4ff1c1f34056d651f0673a5c992.tar.gz"
